﻿using System;
using Bulb.Core.ViewModels;
using Cirrious.MvvmCross.WindowsPhone.Views;

namespace Bulb.UI.WindowsPhone.Views
{
    public partial class AddBulbView : MvxPhonePage
    {
        public AddBulbView()
        {
            InitializeComponent();
        }

        private void ApplicationBarIconButton_OnClick(object sender, EventArgs e)
        {
            ((AddBulbViewModel)ViewModel).SaveCommand.Execute(null);
        }
    }
}